#include <SFML/Graphics.hpp>
#include <stdio.h>
#include "stdheader.h"

int main(int argc, char** argv)
{
	sf::RenderWindow* pWindow = new sf::RenderWindow(sf::VideoMode(SC_WIDTH, SC_HEIGHT), "Farmyard Fumble");

	CGame::Instance()->SetRenderWindow(pWindow);
	CGame::Instance()->Initialise();

	while (CGame::Instance()->IsRunning())
	{
		CGame::Instance()->Run();
	}

	CGame::Instance()->Cleanup();

	return 0;
}